package com.julyup.core.page;

import lombok.Data;

import java.util.Map;

/**
 * 分页参数
 *
 * @Author: zhenzhong.wang@honeywell.com
 * @Date: 2018/10/22 6:08 PM
 */
@Data
public class PageSearch {

    private String keyword;                            // 关键字

    private int pageNumber = 0;                        // 页码
    private int pageSize = 20;                         // 一页显示的项目数
    private int totalCount;

    private String orderColumn = "id";
    private OrderType orderType = OrderType.DESC;
    private PageAction opsType = PageAction.LIST;

    private Map<String, Object> pageParameter;
    private Map<String, Object> exportParameter;
    private Map<String, Object> rangeMaxParameter;
    private Map<String, Object> rangeMinParameter;
}
